<#include "../adminNavigation/index.html">
<#if message?exists>
	${message}
</#if>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="${contextPath}/admin">教学日历服务与管理管理员首页</a>
							</li>
							<li class="active">学生查询</li>
						</ul><!-- .breadcrumb -->
					</div>
                   <div class="page-content">
						<div class="page-header" style="padding-bottom:45px;">
							
							<button onclick="overFind2()" class="button_blue" style="margin-left:30%;">按工号搜索</button >
							<button onclick="overFind3()" class="button_blue" style="margin-left:20%;">按名字搜索</button>

						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
							

							<table style="font-size:17px;" cellspacing="0" cellpadding="0">
      							<tr>
        							<th>学号</th>
        							<th>姓名</th>
        							<th>联系方式</th>
        							<th>邮箱</th>
        							<th>编辑</th>
        							<th>密码重置</th>
     							</tr>
      							    <#if listAll?exists>
      								<#list listAll as student>
      								<tr>
      									<td>${student.studentNum! }</td>
      									<td>${student.studentName!}</td>
      									<td>${student.studentPhone!}</td>
      									<td>${student.studentEmail!}</td>
      									<td>
      										<a href="${contextPath}/admin/studentManage/delete1/${student.pkStudent}">删除</a>
      										
      									</td>
      									<td><a href="${contextPath}/admin/studentManage/updatePwd1/${student.pkStudent}">密码重置</a></td>
      								</tr>
      								</#list>
      								</#if>
    						</table>		
    									 
						<div align="center">
							
	
	</div>
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
					
					<div id="modal-overlay2">
						<div class="modal-data2">

							<div class="login" style="width:460px;height:280px;">
							<form action="${contextPath}/admin/studentManage/searchByStudentNum" method="post">
								<h2 style="color:#2795DC;margin-left:5%;font-weight:700;font-size:2em;">按学号搜索</h2>
								<hr>

								<div class="clearfix">

									<div class="input-append input-prepend">
							
									<!-- <span class="add-on"><i class="icon-search"></i></span> -->
								
									<input type="text" name="studentNum" id="studentNum" placeholder="Search" value="" class="placeholder">
								
									<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i></button>
									
								<button type="button" class="am-btn am-btn-secondary" style="margin-left:-35%;margin-top:100px;" onclick="closeLogin2()">关闭</button>		
									</div>
							
								</div>
								
								
								<!-- <button type="submit" class="am-btn am-btn-secondary" style="margin-top:20px;">保存</button>
								<button type="button" class="am-btn am-btn-secondary" style="margin-left:20%;margin-top:20px;" onclick="closeLogin2()">关闭</button>		 -->		
								</form>
								
								
							</div>
						</div>
					</div>
					<script type="text/javascript">
						function overFind2(){     
   							var e1 = document.getElementById('modal-overlay2');     
   								e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
    						$(".modal-data2").animate({right:'30%'});
  						}
  						function closeLogin2(){    
   							var e1 = document.getElementById('modal-overlay2');     
   								e1.style.visibility = "hidden";
  						}
					</script>
					<div id="modal-overlay3">
						<div class="modal-data3">

							<div class="login" style="width:460px;height:280px;">
							<form action="${contextPath}/admin/studentManage/searchByStudentName" method="post">
								<h2 style="color:#2795DC;margin-left:5%;font-weight:700;font-size:2em;">按姓名搜索</h2>
								<hr>

								<div class="clearfix">

									<div class="input-append input-prepend">
							
									<!-- <span class="add-on"><i class="icon-search"></i></span> -->
								
									<input type="text" name="studentName" id="studentName" placeholder="Search" value="" class="placeholder">
								
									<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i></button>
									
								<button type="button" class="am-btn am-btn-secondary" style="margin-left:-35%;margin-top:100px;" onclick="closeLogin3()">关闭</button>		
									</div>
							
								</div>
								
								
								<!-- <button type="submit" class="am-btn am-btn-secondary" style="margin-top:20px;">保存</button>
								<button type="button" class="am-btn am-btn-secondary" style="margin-left:20%;margin-top:20px;" onclick="closeLogin2()">关闭</button>		 -->		
								</form>
								
								
							</div>
								<!-- <button class="am-btn am-btn-secondary" type="submit" style="margin-top:10px;">上传</button>
								<button class="am-btn am-btn-secondary" type="button" style="margin-left:40%;margin-top:10px;" onclick="closeLogin3()">关闭</button>
								</form>
												
							</div> -->
						</div>
					</div>
					<script type="text/javascript">
						function overFind3(){     
   							var e1 = document.getElementById('modal-overlay3');     
   								e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
    						$(".modal-data3").animate({right:'30%'});
  						}
  						function closeLogin3(){    
   							var e1 = document.getElementById('modal-overlay3');     
   								e1.style.visibility = "hidden";
  						}
					</script>
				</div>
					
					
					
		

				</div>
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		